package edu.nakan.multipicationtables;

/**
 * @author NakanPhung
 * @date: 7/19/2013
 * @email: cank56hua@gmail.com
 * @project: HomeWorkDay2Problem3
 **/

public class MultipicationTables {

	public static void main(String[] args) {
		System.out.println("\n \t\t\t\t Multipication Tables \n\n\n");

		// i are index of tables of the Multipication tables
		for (int i = 2; i < 10; i++) {

			System.out.printf("Table %d \n", i);

			// j are index of rows of the multipication tables
			for (int j = 1; j <= 10; j++) {
				System.out.printf(" %dx%d=%d \n", i, j, i * j);

			}
			System.out.println("\t");

		}

	}

}
